package com.costeaalex.MIDlets.remote.communication;

import java.io.IOException;

public interface CommunicationManager
	{

	public abstract int send(int data);
	
	public abstract int send(byte[] data);

	public abstract int receive();

	public abstract byte[] receiveBlock();

	public abstract int getAvailableData();

	public abstract void close() throws IOException;

	}